---
title: "custom file input · RUAL Documentation"
description: "Custom HTML file input element"
canonical: https://docs.rual.nl/block-types/Component UI/component_custom_input_file
language: en
---

# custom file input

This block is part of the [`Component UI`](https://docs.rual.nl/block-types/Component%20UI) group and was last modified in core [`v11.0.1`](https://docs.rual.nl/core-versions/110001).

Custom HTML file input element

- Field required `fielddefinitions` Field to save the value in

- Validate `fieldvalidation` Applies the given validation to the element, overwrites attributes given in the attributes popup

- Event `inputevent`

- Button Text `value` Your custom text that will show as your label

- Empty File Text `value` Custom text when no file is selected

- max file size `number` max file size in bytes

- uicomponent `uicomponent`

A typical wiring for [custom file input](https://docs.rual.nl/block-types/Component%20UI/component_custom_input_file): [combine](https://docs.rual.nl/block-types/fields/fielddefinitions_multiple) feeds the `co-fields` pin; the `uicomponent` out pin feeds [build PDF](https://docs.rual.nl/block-types/files/file_generate_pdf).

![Studio canvas example for the custom file input block: typical wiring for custom file input.](https://docs.rual.nl/canvas-examples/component_custom_input_file.png)

### Version history

Introduced in [`v11.0.1`](https://docs.rual.nl/core-versions/110001).
